import type { PageDto, PageReqDto } from '@/api/types'
import request from '@/utils/request'
import type { HandleInsuranceReportDto } from './types'

// 获取当前商务待处理的报案信息
export function getHandleInsuranceReportList(params: PageReqDto & {
    companyName?: string
    startTime?: string
    endTime?: string
    salesId?: string
    reportStatus?: number
    sortField?: string
    sortType?: string
}): Promise<PageDto<HandleInsuranceReportDto[]>> {
    return request.get('/crm-prod/crm/record/get-reporting-handling', {params})
}